// basetest.cpp : Defines the entry point for the console application.
//
#include <gtest4c.h>
#include <lnthread.h>

extern struct gtest_case_def base_testCases[];
extern struct gtest_case_def storage_testCases[];
extern struct gtest_case_def sql_testCases[];

int main (int argc, char* argv[])
{
  int n;
  LN_THREAD_PTR thrd;

  thrd = thrd_current();
  thrd_init (thrd,"test thread");

  gtest_init (&argc, argv);

  gtest_register (base_testCases);
  gtest_register (storage_testCases);
  gtest_register (sql_testCases);

  n = gtest_run ();

  thrd_close (thrd);

  return n;
}
